package cbm.commons;

import java.util.ResourceBundle;

public class ViewHelper{
  private ResourceBundle rb = null;
  private static ViewHelper helper = null;
  
  public static ViewHelper getInstance(){
    if(helper == null){
      helper = new ViewHelper();
    }
    
    return helper;
  }
  
  private ViewHelper(){
    rb = ResourceBundle.getBundle("continuidadweb");
  }
  
  public String getResource(String resource){
    return rb.getString(resource);
  }
}